Optimal. Leaf size=67 \[ \frac {x}{3 a^2 c (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {2 x}{3 a^4 c^2 \sqrt {a+b x} \sqrt {a c-b c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {40, 39}
\begin {gather*} \frac {2 x}{3 a^4 c^2 \sqrt {a+b x} \sqrt {a c-b c x}}+\frac {x}{3 a^2 c (a+b x)^{3/2} (a c-b c x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 39
Rule 40
Rubi steps
\begin {align*} \int \frac {1}{(a+b x)^{5/2} (a c-b c x)^{5/2}} \, dx &=\frac {x}{3 a^2 c (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {2 \int \frac {1}{(a+b x)^{3/2} (a c-b c x)^{3/2}} \, dx}{3 a^2 c}\\ &=\frac {x}{3 a^2 c (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {2 x}{3 a^4 c^2 \sqrt {a+b x} \sqrt {a c-b c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 46, normalized size = 0.69 \begin {gather*} \frac {3 a^2 x-2 b^2 x^3}{3 a^4 c (c (a-b x))^{3/2} (a+b x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in
optimal.
time = 10.81, size = 79, normalized size = 1.18 \begin {gather*} \frac {I \text {meijerg}\left [\left \{\left \{\frac {5}{4},\frac {7}{4},1\right \},\left \{\frac {1}{2},\frac {5}{2},3\right \}\right \},\left \{\left \{\frac {5}{4},\frac {7}{4},2,\frac {5}{2},3\right \},\left \{0\right \}\right \},\frac {a^2}{b^2 x^2}\right ]+\text {meijerg}\left [\left \{\left \{-\frac {1}{2},0,\frac {1}{2},\frac {3}{4},\frac {5}{4},1\right \},\left \{\right \}\right \},\left \{\left \{\frac {3}{4},\frac {5}{4}\right \},\left \{-\frac {1}{2},0,2,0\right \}\right \},\frac {a^2 \text {exp\_polar}\left [-2 I \text {Pi}\right ]}{b^2 x^2}\right ]}{3 \text {Pi}^{\frac {3}{2}} a^4 b c^{\frac {5}{2}}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(128\) vs.
\(2(55)=110\).
time = 0.14, size = 129, normalized size = 1.93
method | result | size |
gosper | \(\frac {\left (-b x +a \right ) x \left (-2 x^{2} b^{2}+3 a^{2}\right )}{3 \left (b x +a \right )^{\frac {3}{2}} a^{4} \left (-b c x +a c \right )^{\frac {5}{2}}}\) | \(45\) |
default | \(-\frac {1}{3 a b c \left (b x +a \right )^{\frac {3}{2}} \left (-b c x +a c \right )^{\frac {3}{2}}}+\frac {-\frac {1}{a b c \sqrt {b x +a}\, \left (-b c x +a c \right )^{\frac {3}{2}}}+\frac {\frac {2 \sqrt {b x +a}}{3 a b c \left (-b c x +a c \right )^{\frac {3}{2}}}+\frac {2 \sqrt {b x +a}}{3 b \,a^{2} c^{2} \sqrt {-b c x +a c}}}{a}}{a}\) | \(129\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 53, normalized size = 0.79 \begin {gather*} \frac {x}{3 \, {\left (-b^{2} c x^{2} + a^{2} c\right )}^{\frac {3}{2}} a^{2} c} + \frac {2 \, x}{3 \, \sqrt {-b^{2} c x^{2} + a^{2} c} a^{4} c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 72, normalized size = 1.07 \begin {gather*} -\frac {{\left (2 \, b^{2} x^{3} - 3 \, a^{2} x\right )} \sqrt {-b c x + a c} \sqrt {b x + a}}{3 \, {\left (a^{4} b^{4} c^{3} x^{4} - 2 \, a^{6} b^{2} c^{3} x^{2} + a^{8} c^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 9.48, size = 94, normalized size = 1.40 \begin {gather*} \frac {i {G_{6, 6}^{5, 3}\left (\begin {matrix} \frac {5}{4}, \frac {7}{4}, 1 & \frac {1}{2}, \frac {5}{2}, 3 \\\frac {5}{4}, \frac {7}{4}, 2, \frac {5}{2}, 3 & 0 \end {matrix} \middle | {\frac {a^{2}}{b^{2} x^{2}}} \right )}}{3 \pi ^{\frac {3}{2}} a^{4} b c^{\frac {5}{2}}} + \frac {{G_{6, 6}^{2, 6}\left (\begin {matrix} - \frac {1}{2}, 0, \frac {1}{2}, \frac {3}{4}, \frac {5}{4}, 1 & \\\frac {3}{4}, \frac {5}{4} & - \frac {1}{2}, 0, 2, 0 \end {matrix} \middle | {\frac {a^{2} e^{- 2 i \pi }}{b^{2} x^{2}}} \right )}}{3 \pi ^{\frac {3}{2}} a^{4} b c^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 199 vs.
\(2 (55) = 110\).
time = 0.03, size = 256, normalized size = 3.82 \begin {gather*} \frac {2 \left (\frac {2 \left (-\frac {192 c a^{3} \sqrt {a+b x} \sqrt {a+b x}}{2304 c^{2} a^{7}}+\frac {432 c a^{4}}{2304 c^{2} a^{7}}\right ) \sqrt {a+b x} \sqrt {2 a c-c \left (a+b x\right )}}{\left (2 a c-c \left (a+b x\right )\right )^{2}}-\frac {2 \left (-3 \left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{4}+18 c \left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{2} a-16 c^{2} a^{2}\right )}{12 c \sqrt {-c} a^{3} \left (-\left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{2}+2 c a\right )^{3}}\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.58, size = 80, normalized size = 1.19 \begin {gather*} -\frac {3\,a^2\,x\,\sqrt {a\,c-b\,c\,x}-2\,b^2\,x^3\,\sqrt {a\,c-b\,c\,x}}{{\left (a\,c-b\,c\,x\right )}^2\,\left (3\,a^4\,\left (a\,c-b\,c\,x\right )-6\,a^5\,c\right )\,\sqrt {a+b\,x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________